import Login from './views/Login/login';
import Dashboard from './views/Dashboard';
import routes from './routers';
import { useRoutes } from 'react-router-dom';
function App() {
  const element = useRoutes(routes);

  return (
    <div className="App">
      {element}
    </div>
  );
}

export default App;
